package com.szj.pet.hospital.model.hosp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.szj.pet.hospital.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "员工管理")
@TableName("staff")
public class Staff extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "年龄")
    @TableField("age")
    private Integer age;

    @ApiModelProperty(value = "性别")
    @TableField("gender")
    private String gender;

    @ApiModelProperty(value = "手机号码")
    @TableField("phone")
    private Integer phone;

    @ApiModelProperty(value = "职位")
    @TableField("occupation")
    private String occupation;

    @ApiModelProperty(value = "工资")
    @TableField("salary")
    private double salary;
}
